package com.cds.alert.pojo;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 
 * <p>
 * <p>
 * 类描述：文件访问记录表
 * <p>
 * 作     者： migrant
 * <p>
 * 日     期： 2014年3月10日
 * <p>
 * 时     间： 上午8:50:47
 * <p>
 */
@Entity
@Table(name = "alert_log_telnet")
public class AlertAlarmTelnet extends IdEntity {

	/** 阅读状态, 0: 未读; 1: 已读*/
	private Integer read;
	/**日志产生时间*/
	private Date logTime;
	/**IP地址*/
	private String ip;
	/**开始时间*/
	private Date startTime;
	/**结束时间*/
	private Date stopTime;
	/**主机地址 */
	private String host;
	/**命令和反馈信息*/
	private String content;

	/**MAC地址*/
	private String mac;
	
	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}
	
	public Integer getRead() {
		return read;
	}

	public void setRead(Integer read) {
		this.read = read;
	}
	
	public Date getLogTime() {
		return logTime;
	}

	public void setLogTime(Date logTime) {
		this.logTime = logTime;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getStopTime() {
		return stopTime;
	}

	public void setStopTime(Date stopTime) {
		this.stopTime = stopTime;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
